package c.e.a.a.f.p;

import c.e.a.a.b;
import c.e.a.a.f.p.h.c;
import e.a.a;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;

/* compiled from: SchedulingConfigModule_ConfigFactory */
public final class f implements Object<c.e.a.a.f.p.h.f> {
    public final a<c.e.a.a.f.r.a> a;

    public f(a<c.e.a.a.f.r.a> aVar) {
        this.a = aVar;
    }

    public Object get() {
        c.e.a.a.f.r.a aVar = (c.e.a.a.f.r.a) this.a.get();
        HashMap hashMap = new HashMap();
        b bVar = b.DEFAULT;
        c.e.a.a.f.p.h.f.a.a a = c.e.a.a.f.p.h.f.a.a();
        a.b(30000);
        a.c(86400000);
        hashMap.put(bVar, a.a());
        bVar = b.HIGHEST;
        a = c.e.a.a.f.p.h.f.a.a();
        a.b(1000);
        a.c(86400000);
        hashMap.put(bVar, a.a());
        bVar = b.VERY_LOW;
        a = c.e.a.a.f.p.h.f.a.a();
        a.b(86400000);
        a.c(86400000);
        Set unmodifiableSet = Collections.unmodifiableSet(new HashSet(Arrays.asList(new c.e.a.a.f.p.h.f.b[]{c.e.a.a.f.p.h.f.b.NETWORK_UNMETERED, c.e.a.a.f.p.h.f.b.DEVICE_IDLE})));
        c.b bVar2 = (c.b) a;
        Objects.requireNonNull(unmodifiableSet, "Null flags");
        bVar2.c = unmodifiableSet;
        hashMap.put(bVar, bVar2.a());
        Objects.requireNonNull(aVar, "missing required property: clock");
        int size = hashMap.keySet().size();
        b.values();
        if (size >= 3) {
            HashMap hashMap2 = new HashMap();
            return new c.e.a.a.f.p.h.b(aVar, hashMap);
        }
        throw new IllegalStateException("Not all priorities have been configured");
    }
}
